package com.bys.controller;

import com.bys.service.PayService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PayController {
    @Resource
    private PayService payService;
    @GetMapping("/feign/ok")
    public String feign_ok(){
        return payService.feignOk();
    }
    @GetMapping("/feign/timeout")
    public String feign_timeout(){
        return payService.feign_timeout();
    }
    @GetMapping("/feign/err")
    public String feign_err(){
        return payService.feign_err();
    }


}
